package com.ysy.logistics.entities.supplier;

import com.baomidou.mybatisplus.annotation.*;
import com.ysy.common.entities.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassDescription:
 * @Author:姚斯羽
 * @Create:2025/3/25 16:46
 **/
@Data
@TableName("supplier")
@Schema(name = "supplier", description = "供应商实体类")
public class Supplier extends BaseEntity {
    @Schema(description = "供应商id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @Schema(description = "供应商名称")
    @TableField(value = "name")
    private String name;
    @Schema(description = "供应商地址")
    @TableField(value = "address")
    private String address;
    @Schema(description = "供应商电话")
    @TableField(value = "phone")
    private String phone;
    @Schema(description = "联系人")
    @TableField(value = "contact")
    private String contact;
    @Schema(description = "邮箱")
    @TableField(value = "email")
    private String email;

    @Schema(description = "备注")
    @TableField(value = "remark")
    private String remark;








}
